package org.example.service;

import org.dom4j.DocumentException;
import org.example.entity.Admin;

import java.io.IOException;

/**
 * @author TonySong
 * @date 2025/7/28 0028
 * @time 16:47
 */
public interface IAdminService {

    Admin login(String username, String password);

    void saveXml(Admin  admin) throws IOException;

    void getXml(Admin admin) throws IOException, DocumentException;
}
